home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / fish / 726-750 / 744 / fo2 / sources_fo2 / fo2.c < prev    next >
C/C++ Source or Header  |  1995-03-18  |  886b  |  43 lines

  1. /*
  2. **        FO2 v2.4 by FBJ
  3. **      
  4. **      (c)Copyright 1991, Campagne Fabien, All Rights Reserved
  5. **
  6. **      Campagne Fabien
  7. **      805, Rue des Gentianes
  8. **      39000 Lons Le saunier
  9. **      FRANCE
  10. **
  11. **    un optimiseur de disk (rapide).
  12. **    FO2 doit être linké avec TD.o                                            
  13. **  pour compiler: cc FO2 "objects:TD.o -gs -r"                                    
  14. **  v2.4: a serious bug fixed (under 2.0, some files and dir will no longuer disappear)
  15. **                                                                          */
  16.  
  17. #include "defs.h"
  18.  
  19. Prototype int main(int ac,char **av);
  20. Prototype wbmain(struct WBMessage *msg);
  21. Prototype Aborted();
  22.  
  23. struct Variables *VarAdr;
  24.  
  25. wbmain(struct WBMessage *msg)
  26. {
  27.     puts("Hello");
  28.     start(0,NULL);
  29. }
  30.  
  31. int main(int ac,char **av)
  32. {
  33.     start(ac,av);
  34. }
  35.  
  36. Aborted()
  37. {
  38.     MtrOff(sourceDrive);
  39.     MtrOff(destDrive);
  40.     RendMem();
  41.     putIText("Operation Aborted !!                ");
  42. }
  43.